/*
 * @Author: dengyl
 * @Date: 2021-10-19 18:55:25
 * @LastEditTime: 2021-12-20 15:30:39
 * @LastEditors: Please set LastEditors
 * @Description: 基础信息接口调用
 * @FilePath: \code\cwp-front\pc-collaboration\src\api\modules\base-info.api.js
 */

export default ({ service, request, tools }) => ({
    /**
     * @description: 新建协同获取基础信息
     */
    newCollGetBaseInfo(params) {
        return request({
            url: '/new/baseInfo',
            params,
        });
    },

    /**
     * @description: 从给定时间开始计算指定分钟数后的时间戳
     */
    calculateDateTime(minutes, params) {
        return request({
            url: `/calculate/datetime/${minutes}`,
            params,
        });
    },
});
